import {myRequest} from './http.js'
 
export function logincode (config) {  //登录验证码获取
	return myRequest({
		url:'api/account-service/LoginCodeAndSMS',
		method:'post',
		data:config
	})
}
export function login (config) {  //登录
	return myRequest({
		url:'api/account-service/Login',
		method:'post',
		data:config
	})
}
export function openid (id) {  //获取openid
	return myRequest({
		url:'api/account-service/WechatGetOpenid/'+id,
		method:'get',
	})
}